<script setup>
import {useRoute} from "vue-router";

const route = useRoute();
</script>

<template>
<div>当前您浏览的产品是: {{ route.params.id }}</div>
</template>

<style scoped>

</style>